import { Application } from 'express';

/**
 * 路由配置类
 */
export class AppRoute {

    constructor(private app: Application) {
        var router = app.router;
    }

    Config() {
        let that =this;
        that.app.get('/',function(req, res){
            res.send('body');
        });
        that.app.get('/cms/article',function(req, res, next){
            res.send('/cms/article');
        })
    }

}